# todo 排序升序
a = [1, 8, 7, 4, 2, 3, 6, 5]

# a.sort()
# print(a)
#
# # todo 降序
# a.sort(reverse=True)
# print(a)
ws = (len(a))
i = 0
while i < ws:
    print(a[i])
    i += 1
print("*"*10)
# 使用for 循环
for add in a :
    print(add)
